﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.peddler {
    import Engine.Transactions.*;
    import Classes.*;
    import flash.net.*;

    public class THarvestPeddler extends Transaction {

        private var m_params:Object;

        public function THarvestPeddler(_arg1:MapResource){
            this.m_params = new Object();
            this.m_params["peddlerObjectId"] = _arg1.getId();
            this.m_params["recipientID"] = Global.world.ownerId;
            if (_arg1.getId() <= 0){
                LocalConnection["play()"];
            };
        }
        override public function perform():void{
            signedCall("VisitorService.harvestPeddler", this.m_params);
        }

    }
}//package Modules.peddler 
